package tests;

import game.Card;
import game.Hand;
import game.Deck;
import static org.junit.Assert.*;

import org.junit.Test;

public class HandTest 
{

	@Test
	public void getHand() 
	{
		Deck deck = new Deck();
		Hand hand = new Hand(deck);
		Card card;
		for(int i = 0; i<= 3; i++)
		{
			if(i == 5)
			{
				fail();
			}
			else
			{
				for(int j =0; j <= 12; j++)
				{
					card = new Card(i,j);
					if(card.toString().equals(hand.getHand(0).toString()))
					{
						break;
					}
				}
			}
		}
	}

}
